// 子应用注册接口
export interface IRegisterMicroApp {
    name: string;
    entry: string;
    container: string;
    activeRule: string;
    props?: Record<string, any>;
    bootstrap: () => Promise<void>;
    mount: (props: Record<string, any>) => Promise<void>;
    unmount: (props: Record<string, any>) => Promise<void>;
    update?: (props: Record<string, any>) => Promise<void>;
}

// 子应用导出生命周期
export interface IAppLifeCycles {
    bootstrap: () => Promise<void>;
    mount: (props: Record<string, any>) => Promise<void>;
    unmount: (props: Record<string, any>) => Promise<void>;
    update?: (props: Record<string, any>) => Promise<void>;
}
